LANGUAGE_CODE = 'zh-Hans'

TIME_ZONE = 'Asia/Shanghai'

USE_I18N = True

USE_L10N = True

USE_TZ = False

# 短信的配置
TENCENT_SMS_APP_ID = 1400703584
# 腾讯云短信应用的 app_key
TENCENT_SMS_APP_KEY = '2879f3a63ad0d1d2794967014f237086'
# 腾讯云短信签名内容
TENCENT_SMS_SIGN = 'python小虫师'

# 配置django-redis
CACHES = {
    "default": {
        "BACKEND": "django_redis.cache.RedisCache",
        "LOCATION": "redis://192.168.0.107:6379",    # 安装redis的主机的 IP 和 端口
        "OPTIONS": {
            "CLIENT_CLASS": "django_redis.client.DefaultClient",
            "CONNECTION_POOL_KWARGS": {
                "max_connections": 1000,
                "encoding": 'utf-8'
            },
            "PASSWORD": " "     # redis密码
        }
    }
}